﻿using Sharp.Domain.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Sharp.Domain.CMSBoundedContext.VIUModule.Aggregates
{
    public class ApproveHistory : AggregateRoot
    {
        public Guid VIUId { get; set; }
        [ForeignKey("VIUId")]
        public VIU VIU { get; set; }
        /// <summary>
        /// 是否审核通过
        /// </summary>
        public bool IsChecked { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        [StringLength(255)]
        public string Remark { get; set; }
        /// <summary>
        /// 添加日期
        /// </summary>
        /// <value>添加日期</value>
        public System.DateTime? CheckInTime { get; set; }
        /// <summary>
        /// 审批人Id
        /// </summary>
        /// <value>审批人Id</value>
        public Guid? CheckInUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        /// <value>修改时间</value>
        public System.DateTime? ModifiTime { get; set; }
        /// <summary>
        /// 修改数据的用户Id
        /// </summary>
        /// <value>修改数据的用户Id</value>
        public Guid? ModifiedUserId { get; set; }

        ///// <summary>
        ///// 审批人
        ///// </summary>
        //[ForeignKey("CheckInUserId")]
        //public virtual User Approver { get; set; }
    }
}
